<include file="inc:header" />	
<div class="page" id='{$data.act}'>
<?php
	$this->_var['back_url'] = wap_url("index","uc_center#index");
	$this->_var['back_page'] = "#uc_center";
	$this->_var['back_epage'] = $_REQUEST['epage']=="" ? "#uc_center" : "#".$_REQUEST['epage'];
?>
<include file="inc:title" />
<div class="content">
<!-- 这里是页面内容区 -->
<?php
	$this->_var['pagecss'][] = $this->_var['TMPL_REAL']."/css/uc_refund.css";		
?>
<link rel="stylesheet" type="text/css" href="{$pagecss|parse_css}" />
<!--尝还贷款列表-->
<div class="repayment">
    <div class="Menubox">
        <ul>
            <li id="one1"  <if condition="$data.status eq 0">class="hover"</if> ><a href="#" onclick="reloadpage('{:U('ucrefund/index',array('status'=>0))}','#Ucrefund','.repayment');">还款列表</a></li>
            <li id="one2"  <if condition="$data.status eq 1">class="hover"</if>><a  href="#" onclick="reloadpage('{:U('ucrefund/index',array('status'=>0))}','#Ucrefund','.repayment');">已还清借款</a></li>
            <li></li>
        </ul>
    </div>
    
<div class="Contentbox">
<if condition="$data.status eq 0">
		<if condition="$data.item.0.deal_status eq 4">
		     <div id="con_one_1" class="hover repayment_con">
		     
		            <foreach name="data.item" item="item">
		            <div class="repayment_blok">
		                <div class="invest_tit gray">
		                    <a href="">{$item.name}</a> 
		                </div>
		                <div class="index_content">
		                    <div class="index_content1">
		                    <ul>
		                        <li>借款金额<span>{$item.borrow_amount_format}</span></li>
		                        <li>年利率<span class="orange">{$item.rate_foramt}%</span></li>
		                         <li>期限<span>{$item.repay_time}个月</span></li>
		                         <li>月还金额<span>{$item.true_month_repay_money_format}</span></li>
		                        <li>罚息<span>{$item.need_money}</span></li>
		                       
		                        <li></li>
		                    </ul>
		                    <div class="blank"></div> 
		                    </div>
		
		                    <div class="index_content2">
		                    <div class="con2_bd">
		                        <div class="index_Rep_time">下还款日  {$item.next_repay_time_format}</div>
		                        <if condition="$deal.ips_bill_no eq ''">
		                        <div class="btn_preRepayment a_fixed">
		                        <a href="#" onclick="RouterURL('{:U('ucinrepayrefund/index',array('id'=>$item.id))}','#Ucinrepayrefund',2);">提前还款</a>
		                        </div>
                                </if>
		                        <div class="btn_Repayment a_fixed">
		                        <a href="#" onclick="RouterURL(':U('ucquickrefund/index',array('id'=>$item.id))}','#Ucquickrefund',2);">还款</a>
		                        </div>
		                        <div class="blank0"></div> 
		                    </div>
		                    </div>   
		                </div>
		            </div>
		            </foreach>
				   	
			</div>
<else/>
    <div class="no_data_block">
    	暂无数据
    </div>
</if>
</if>
<!----------------------------------------------------------------------------还款列表-->	
<if condition="$data.status eq 1">
<if condition="$data.item.0.deal_status eq 5>
     <div id="con_one_2" class="repaymeet_con" >
           <div class="repaymeet_blok">
                <ul>
          	     <foreach name="data.item" item="item">
          	     
                    <li>
                    <a href="#" onclick="RouterURL('{:U('ucrefunddetail/index',array('id'=>$item.id)) }','#Ucrefunddetail',2);">
                        <div class="rep_fl">
                            <h1>{$item.name}</h1>
                            <span class="rep_fl_time">
                            <i class="fa fa-clock-o"></i>{$item.publish_time_format}</span>
                            <span class="rep_fl_rate">年利率{$item.rate_foramt_w}</span>
                            <span class="rep_fl_term">期限{$item.repay_time}个月</span>
                        </div>
                        <div class="rep_fr">
                            <h2>{$item.borrow_amount_format}</h2>
                            <span>金额</span>
                        </div>
                        <div class="blank"></div>
                    </a> 
                    </li>
                          </foreach>
                </ul>
            </div>
 		</div>
<else/>
<div class="no_data_block">
    	暂无数据
    </div>
</if>
</if>
<!----------------------------------------------------------------------------已还款列表-->	
    </div>
</div>	
<include file="inc:footer" />







